Service Core

This is a list of common classes used throughout the SDK. The entry point into this SDK is through the SCServiceCloud class. Refer to that class to get started.

  • Delegate protocol to interact with the Service SDK, and to make decisions on behalf of the SDK.

    See more

    Declaration

    Objective-C

    @protocol SCServiceCloudDelegate <NSObject>

    Swift

    protocol SCServiceCloudDelegate : NSObjectProtocol
  • Configuration class used to customize the settings that influence the branding and coloring of UI elements used throughout the SDK.

    Pass an instance of this class to the SCServiceCloud.appearanceConfiguration property on the SCServiceCloud shared instance to set the appearance.

    See more

    Declaration

    Objective-C

    @interface SCAppearanceConfiguration : NSObject

    Swift

    class SCAppearanceConfiguration : NSObject
  • Delegate protocol for responding to style and branding customization requests at runtime.

    See more

    Declaration

    Objective-C

    @protocol SCAppearanceConfigurationDelegate <NSObject>

    Swift

    protocol SCAppearanceConfigurationDelegate : NSObjectProtocol
  • Enumerated list of all configurable color tokens. To learn about color branding, see Color Branding.

    Declaration

    Objective-C

    typedef NSString *SCSAppearanceColorToken

    Swift

    struct SCSAppearanceColorToken : RawRepresentable, _SwiftNewtypeWrapper, Equatable, Hashable, _ObjectiveCBridgeable
  • Enumerated list of all configurable text label tokens.

    Declaration

    Objective-C

    typedef NSString *SCSAppearanceLabelToken

    Swift

    struct SCSAppearanceLabelToken : RawRepresentable, _SwiftNewtypeWrapper, Equatable, Hashable, _ObjectiveCBridgeable
  • Possible error response codes when authenticating a user with your Salesforce org.

    See more

    Declaration

    Objective-C

    enum SCServiceErrorCode {}

    Swift

    enum SCServiceErrorCode : Int
  • Service feature area. This value can be SCServiceTypeCases or SCServiceTypeKnowledge. To learn how this is used for authentication, see Authentication.

    Declaration

    Objective-C

    typedef NSString *SCServiceType

    Swift

    struct SCServiceType : RawRepresentable, _SwiftNewtypeWrapper, Equatable, Hashable, _ObjectiveCBridgeable
  • Enumerated list of all configurable image tokens.

    Declaration

    Objective-C

    typedef NSString *SCSAppearanceImageToken
  • Facility used to customize the logging level, and optional file output, of the Snap-ins components.

    See more

    Declaration

    Objective-C

    
    @interface SCServiceLogger : NSObject

    Swift

    class ServiceLogger : NSObject
  • Logging level enumerated type. Use with SCServiceLogger.

    See more

    Declaration

    Objective-C

    enum SCSLoggerLevel {}

    Swift

    enum SCSLoggerLevel : UInt8
  • Protocol used by UI components that are capable of being minimized.

    See more

    Declaration

    Objective-C

    @protocol SCSMinimizable <NSObject>

    Swift

    protocol SCSMinimizable : NSObjectProtocol
  • Delegate protocol used to interact with, and be informed of changes to, minimizable controllers.

    See more

    Declaration

    Objective-C

    @protocol SCSMinimizableDelegate <NSObject>

    Swift

    protocol SCSMinimizableDelegate : NSObjectProtocol
  • An SCSNotification object represents a push notification that was sent to the app from your Salesforce connected app.

    The SCSNotification class itself is an abstract class. Based on the userInfo dictionary passed to it from the push notification payload, a concrete subclass of SCSNotification is returned by calling: -[SCServiceCloud notificationFromRemoteNotificationDictionary:]

    See more

    Declaration

    Objective-C

    @interface SCSNotification : NSObject

    Swift

    class SCSNotification : NSObject
  • A SCSNotificationType defines the type of notification.

    See more

    Declaration

    Objective-C

    enum SCSNotificationType {}

    Swift

    enum SCSNotificationType : Int